package ca.liu.scaffoldingmvctest.service;

import ca.liu.scaffoldingmvctest.domain.StLog;
import ca.liu.scaffoldingmvctest.domain.StUser;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for StUser entities
 * 
 */
public interface StUserService {

	/**
	 * Save an existing StLog entity
	 * 
	 */
	public StUser saveStUserStLogs(Integer id, StLog related_stlogs);

	/**
	 * Save an existing StUser entity
	 * 
	 */
	public void saveStUser(StUser stuser);

	/**
	 * Delete an existing StUser entity
	 * 
	 */
	public void deleteStUser(StUser stuser_1);

	/**
	 */
	public StUser findStUserByPrimaryKey(Integer id_1);

	/**
	 * Return a count of all StUser entity
	 * 
	 */
	public Integer countStUsers();

	/**
	 * Delete an existing StLog entity
	 * 
	 */
	public StUser deleteStUserStLogs(Integer stuser_id, Integer related_stlogs_id);

	/**
	 * Return all StUser entity
	 * 
	 */
	public List<StUser> findAllStUsers(Integer startResult, Integer maxRows);

	/**
	 * Load an existing StUser entity
	 * 
	 */
	public Set<StUser> loadStUsers();
}